/*
* @Author: liqs
* @Date:   2021/10/13 14:57
 */
package feature

import (
	"github.com/Go-Server/datasource/dataset/Attribute"
)

// const geomtype
const (
	FeatureTypeWKT = "WKT"
	FeatureTypeWKB = "WKB"
)

type Feature struct {

	// 属性字段和值
	AttributeInfos Attribute.AttributeInfos `json:"attributeInfos,string"`

	// featureid
	FeatureId string `json:"featureid"`

	// 空间数据 定义为接口 否则反序列化时接收不到数据
	Geometry interface{} `json:"geometry,string"`
}
